From b450304086140f01d838368dfedc7fe2eddb67ef Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Wed, 26 Apr 2006 17:41:19 +0100 Subject: [PATCH] Make xen_features and force_evtchn_callback() non-GPL symbols as they are used in a variety of ubiquitous kernel macros. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/drivers/xen/core/evtchn.c | 3 ++- linux-2.6-xen-sparse/drivers/xen/core/features.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c index a44c1b0f4f..55b9d4286a 100644 --- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c +++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c @@ -188,7 +188,8 @@ void force_evtchn_callback(void) { (void)HYPERVISOR_xen_version(0, NULL); } -EXPORT_SYMBOL_GPL(force_evtchn_callback); +/* Not a GPL symbol: used in ubiquitous macros, so too restrictive. */ +EXPORT_SYMBOL(force_evtchn_callback); /* NB. Interrupts are disabled on entry. */ asmlinkage void evtchn_do_upcall(struct pt_regs *regs) diff --git a/linux-2.6-xen-sparse/drivers/xen/core/features.c b/linux-2.6-xen-sparse/drivers/xen/core/features.c index ad1f0b4d34..4d50caf50b 100644 --- a/linux-2.6-xen-sparse/drivers/xen/core/features.c +++ b/linux-2.6-xen-sparse/drivers/xen/core/features.c @@ -12,7 +12,8 @@ #include u8 xen_features[XENFEAT_NR_SUBMAPS * 32] __read_mostly; -EXPORT_SYMBOL_GPL(xen_features); +/* Not a GPL symbol: used in ubiquitous macros, so too restrictive. */ +EXPORT_SYMBOL(xen_features); void setup_xen_features(void) { -- 2.30.2